An IDE Drive is not the same as a SATA drive, for starters.
If you want your optical drive to be the master on an IDE
channel you can jumper it to make it such. The second drive on the
IDE channel must then be jumpered as a slave. If the optical drive
is the only drive on the channel then it ought to be jumpered as
the master.
Alternatively, you may be able to set both drives to "Cable
Select" and let the cable position determine the priority. This
presumes that your ribbon cable is of a newer design and supports
this option.